using System;
using System.Collections.Generic;
using System.Text;

namespace Koda.Model
{
    public class MemberInfoCollection : List<MemberInfo>
    {
        public MemberInfoCollection()
        {

        }

        public MemberInfo Add(MemberType type, MemberAccess access, MemberScope scope)
        {
            MemberInfo memberInfo = new MemberInfo();
            memberInfo.Access = access;
            memberInfo.Scope = scope;
            memberInfo.Type = type;           
            this.Add(memberInfo);
            
            return memberInfo;
        }
    }
}
